import request from '@/utils/request'

// 查询道桥检测报告列表
export function listRbDetectReport(query) {
  return request({
    url: '/rb/rbDetectReport/list',
    method: 'get',
    params: query
  })
}

// 查询道桥检测报告详细
export function getRbDetectReport(id) {
  return request({
    url: '/rb/rbDetectReport/' + id,
    method: 'get'
  })
}

// 新增道桥检测报告
export function addRbDetectReport(data) {
  return request({
    url: '/rb/rbDetectReport',
    method: 'post',
    data: data
  })
}

// 修改道桥检测报告
export function updateRbDetectReport(data) {
  return request({
    url: '/rb/rbDetectReport',
    method: 'put',
    data: data
  })
}

// 删除道桥检测报告
export function delRbDetectReport(id) {
  return request({
    url: '/rb/rbDetectReport/' + id,
    method: 'delete'
  })
}


// 查询道桥养护报告列表
export function listRbMaintainReport(query) {
  return request({
    url: '/rb/rbDetectReport/rbMaintainReport/list',
    method: 'get',
    params: query
  })
}
